﻿namespace Mockingbird.MVC.Infrastructure.BaseTypes
{
    using System.Web.Mvc;
    using Core.Infrastructure.Membership.Identity.Interface;

    public abstract class BaseViewPage : WebViewPage
    {
        public virtual new ICustomPrincipal User
        {
            get { return base.User as ICustomPrincipal; }
        }
    }

    public abstract class BaseViewPage<TModel> : WebViewPage<TModel>
    {
        public virtual new ICustomPrincipal User
        {
            get { return base.User as ICustomPrincipal; }
        }
    }
}